package br.cs.correspodente.interfaces;

import java.sql.SQLException;
import java.util.ArrayList;

public interface DAO <T>{
	
	public void add(T t) throws SQLException, ClassNotFoundException;
	public void dell(int id) throws SQLException, ClassNotFoundException;
	public void up(T t) throws SQLException, ClassNotFoundException;
	public ArrayList<T> getAll() throws SQLException, ClassNotFoundException;
	public T getById(int id)  throws SQLException, ClassNotFoundException;
	
	
	
}
